Skip to content

[fix](fe) Improve MaxCompute catalog validation#64119

Merged
morningman merged 1 commit into
apache:masterfrom
hubgeter:fix_mc_epic
Jun 9, 2026
Merged

[fix](fe) Improve MaxCompute catalog validation#64119
morningman merged 1 commit into
apache:masterfrom
hubgeter:fix_mc_epic

Conversation

@hubgeter

@hubgeter hubgeter commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Problem Summary:
Use the test_connection catalog parameter, to perform ak-sk、 project 、schema validation when creating a maxcompute catalog.

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hubgeter

hubgeter commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hubgeter hubgeter marked this pull request as draft June 4, 2026 10:16
@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 28829 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit f89dad9bfaf645f55869eb3c9b83501c7ac133db, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17713	3999	3920	3920
q2	q3	10744	1470	824	824
q4	4682	472	350	350
q5	7547	874	581	581
q6	183	169	134	134
q7	775	849	654	654
q8	9566	1674	1644	1644
q9	6722	4503	4535	4503
q10	6652	1838	1523	1523
q11	443	270	253	253
q12	637	437	294	294
q13	18113	3400	2791	2791
q14	268	259	246	246
q15	q16	822	781	714	714
q17	1175	890	948	890
q18	6844	5743	5528	5528
q19	1564	1256	1076	1076
q20	512	409	265	265
q21	5840	2618	2337	2337
q22	441	361	302	302
Total cold run time: 101243 ms
Total hot run time: 28829 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4316	4244	4247	4244
q2	q3	4540	4980	4336	4336
q4	2082	2230	1385	1385
q5	4454	4296	4320	4296
q6	228	174	128	128
q7	1749	1722	1850	1722
q8	2559	2196	2133	2133
q9	8002	7979	7968	7968
q10	4787	4772	4253	4253
q11	608	434	397	397
q12	760	765	544	544
q13	3465	3648	2995	2995
q14	309	304	294	294
q15	q16	724	762	665	665
q17	1369	1341	1323	1323
q18	7941	7256	7130	7130
q19	1150	1087	1105	1087
q20	2216	2232	1949	1949
q21	5286	4547	4445	4445
q22	536	479	423	423
Total cold run time: 57081 ms
Total hot run time: 51717 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 169519 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit f89dad9bfaf645f55869eb3c9b83501c7ac133db, data reload: false

query5	4318	643	475	475
query6	439	205	171	171
query7	4851	598	321	321
query8	365	217	204	204
query9	8773	4002	4023	4002
query10	446	297	260	260
query11	5950	2367	2192	2192
query12	153	103	99	99
query13	1275	611	446	446
query14	6463	5447	5096	5096
query14_1	4427	4427	4406	4406
query15	209	199	178	178
query16	996	511	480	480
query17	1142	716	617	617
query18	2538	481	354	354
query19	207	188	152	152
query20	118	111	106	106
query21	224	141	121	121
query22	13660	13614	13388	13388
query23	17345	16493	16234	16234
query23_1	16409	16292	16325	16292
query24	7695	1776	1333	1333
query24_1	1339	1323	1344	1323
query25	576	470	414	414
query26	1305	348	166	166
query27	2644	547	347	347
query28	4436	2023	2028	2023
query29	1109	652	502	502
query30	316	243	204	204
query31	1143	1066	960	960
query32	108	63	61	61
query33	546	330	264	264
query34	1214	1143	655	655
query35	769	821	675	675
query36	1396	1391	1252	1252
query37	157	101	89	89
query38	3210	3134	3047	3047
query39	955	932	910	910
query39_1	897	892	896	892
query40	217	121	100	100
query41	64	62	60	60
query42	95	95	90	90
query43	332	330	278	278
query44	
query45	196	183	180	180
query46	1127	1259	753	753
query47	2392	2364	2276	2276
query48	413	417	281	281
query49	635	481	348	348
query50	986	354	253	253
query51	4360	4276	4347	4276
query52	90	90	78	78
query53	244	269	195	195
query54	266	215	215	215
query55	78	74	70	70
query56	232	229	219	219
query57	1448	1396	1300	1300
query58	250	213	209	209
query59	1555	1666	1514	1514
query60	289	266	236	236
query61	151	155	165	155
query62	691	665	589	589
query63	237	187	193	187
query64	2599	784	641	641
query65	
query66	1764	498	340	340
query67	29758	29109	29584	29109
query68	
query69	417	304	268	268
query70	989	972	975	972
query71	322	236	212	212
query72	3058	2672	2458	2458
query73	851	762	447	447
query74	5218	4970	4770	4770
query75	2664	2591	2244	2244
query76	2326	1189	792	792
query77	362	373	279	279
query78	12353	12384	11986	11986
query79	1441	1042	774	774
query80	1274	462	394	394
query81	529	281	251	251
query82	600	157	119	119
query83	327	273	248	248
query84	258	147	113	113
query85	901	538	449	449
query86	443	294	284	284
query87	3422	3314	3183	3183
query88	3682	2779	2782	2779
query89	435	379	326	326
query90	1899	184	187	184
query91	179	168	136	136
query92	65	63	58	58
query93	1645	1437	857	857
query94	730	354	308	308
query95	681	478	375	375
query96	1023	758	333	333
query97	2717	2687	2567	2567
query98	214	208	204	204
query99	1160	1190	1027	1027
Total cold run time: 253239 ms
Total hot run time: 169519 ms

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/86) 🎉
Increment coverage report
Complete coverage report

@hubgeter

hubgeter commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/71) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29310 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 0de2e53254b46d4957da799836067099dded8685, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17803	4025	4011	4011
q2	q3	10797	1396	839	839
q4	4683	500	356	356
q5	7536	903	587	587
q6	183	173	138	138
q7	774	852	658	658
q8	9342	1628	1708	1628
q9	5976	4578	4505	4505
q10	6740	1827	1524	1524
q11	437	267	244	244
q12	632	424	292	292
q13	18167	3355	2687	2687
q14	265	259	242	242
q15	q16	816	783	712	712
q17	990	962	941	941
q18	6973	5927	5555	5555
q19	1300	1253	1125	1125
q20	538	401	265	265
q21	6106	2812	2684	2684
q22	457	380	317	317
Total cold run time: 100515 ms
Total hot run time: 29310 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	5031	4703	4826	4703
q2	q3	4763	5255	4781	4781
q4	2167	2196	1448	1448
q5	4922	4861	4709	4709
q6	234	175	133	133
q7	1819	1735	1616	1616
q8	2438	2085	2072	2072
q9	8010	7852	7413	7413
q10	4755	4656	4199	4199
q11	531	392	352	352
q12	735	735	531	531
q13	2952	3422	2828	2828
q14	275	277	263	263
q15	q16	692	700	609	609
q17	1278	1247	1250	1247
q18	7271	6850	6672	6672
q19	1118	1081	1158	1081
q20	2239	2212	1957	1957
q21	5265	4617	4483	4483
q22	503	466	396	396
Total cold run time: 56998 ms
Total hot run time: 51493 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 169725 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 0de2e53254b46d4957da799836067099dded8685, data reload: false

query5	4314	645	481	481
query6	449	216	190	190
query7	4824	585	317	317
query8	368	227	218	218
query9	8760	4040	4033	4033
query10	465	322	269	269
query11	5884	2362	2189	2189
query12	161	111	100	100
query13	1285	589	459	459
query14	6419	5435	5082	5082
query14_1	4405	4416	4401	4401
query15	213	198	178	178
query16	1016	457	440	440
query17	1128	749	598	598
query18	2728	478	352	352
query19	210	191	146	146
query20	113	108	119	108
query21	218	142	134	134
query22	13696	13677	13490	13490
query23	17481	16593	16084	16084
query23_1	16274	16361	16385	16361
query24	7473	1765	1316	1316
query24_1	1307	1323	1308	1308
query25	573	426	372	372
query26	1313	323	156	156
query27	2652	551	341	341
query28	4427	2075	2008	2008
query29	1052	614	470	470
query30	310	239	199	199
query31	1117	1076	950	950
query32	109	63	59	59
query33	513	311	242	242
query34	1155	1120	625	625
query35	769	773	701	701
query36	1398	1405	1229	1229
query37	150	105	93	93
query38	3211	3119	3049	3049
query39	933	906	903	903
query39_1	893	874	866	866
query40	216	127	104	104
query41	68	66	66	66
query42	97	96	96	96
query43	326	323	277	277
query44	
query45	193	188	183	183
query46	1083	1183	737	737
query47	2369	2412	2243	2243
query48	408	428	267	267
query49	620	469	352	352
query50	935	360	255	255
query51	4415	4337	4272	4272
query52	88	92	76	76
query53	253	301	196	196
query54	278	224	200	200
query55	83	76	75	75
query56	222	230	226	226
query57	1449	1404	1339	1339
query58	237	219	218	218
query59	1590	1632	1425	1425
query60	281	240	231	231
query61	192	158	158	158
query62	707	643	573	573
query63	240	187	186	186
query64	2508	770	620	620
query65	
query66	1746	454	338	338
query67	29789	29665	29577	29577
query68	
query69	430	311	257	257
query70	1005	942	912	912
query71	322	223	206	206
query72	3043	2677	2374	2374
query73	857	779	421	421
query74	5173	4985	4778	4778
query75	2650	2607	2230	2230
query76	2323	1140	781	781
query77	347	377	284	284
query78	12434	12397	11864	11864
query79	1295	1007	751	751
query80	628	466	385	385
query81	467	284	245	245
query82	569	159	124	124
query83	360	284	259	259
query84	261	148	110	110
query85	944	530	434	434
query86	365	307	281	281
query87	3387	3353	3194	3194
query88	3693	2751	2766	2751
query89	443	381	328	328
query90	1942	182	179	179
query91	174	167	135	135
query92	67	64	55	55
query93	1400	1449	841	841
query94	538	358	318	318
query95	673	480	348	348
query96	1013	789	327	327
query97	2690	2700	2573	2573
query98	215	211	209	209
query99	1173	1176	1031	1031
Total cold run time: 251330 ms
Total hot run time: 169725 ms

@hubgeter

hubgeter commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one blocking issue in the new MaxCompute namespace-schema validation path. The PR otherwise stays focused on MaxCompute catalog validation and unsupported table/view rejection, with targeted unit tests added, but this validation path can reject valid existing deployments that use private/intranet MaxCompute endpoints.

Critical checkpoint conclusions:

  • Goal/test: The goal appears to be earlier MaxCompute validation and explicit rejection of unsupported external tables/logical views. The new tests cover local branching and unsupported table/view checks, but not private/intranet endpoint behavior for the new OpenAPI validation.
  • Scope/focus: The code change is mostly focused, though it adds a new SDK dependency and a second MaxCompute client path.
  • Concurrency/lifecycle: No new shared mutable concurrency path found. Catalog initialization remains synchronized by ExternalCatalog, but the new remote validation runs during lazy initialization.
  • Configuration/compatibility: The new OpenAPI validation does not honor the existing mc.endpoint/private endpoint configuration, which is a compatibility regression for namespace-schema catalogs.
  • Parallel paths: Read and write unsupported-table checks were both updated.
  • Error handling/observability: Errors are surfaced during catalog initialization with useful context, but the incorrect endpoint selection makes the error misleading for private endpoint users.
  • Data correctness/transactions/persistence: No transaction visibility or persisted metadata format issue found in the reviewed diff.
  • Performance: No hot-path performance issue found; validation runs at initialization.
  • Security model/focus: I read SECURITY.md and threat-model.md because this PR touches external catalog connection/auth material. The finding is an operational correctness/compatibility issue, not a security vulnerability under the model. No additional user-provided review focus was present.

@hubgeter

hubgeter commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 43.24% (32/74) 🎉
Increment coverage report
Complete coverage report

@hubgeter hubgeter force-pushed the fix_mc_epic branch 2 times, most recently from afb3991 to d1e407c Compare June 8, 2026 10:34
@hubgeter

hubgeter commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hubgeter hubgeter marked this pull request as ready for review June 8, 2026 10:36
@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/142) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 28831 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit d1e407ceef1694ebfe70fc8a79e19a7c158b9387, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17689	4031	4000	4000
q2	q3	10839	1412	794	794
q4	4679	483	346	346
q5	7532	881	594	594
q6	176	170	141	141
q7	797	831	628	628
q8	9352	1551	1510	1510
q9	5857	4488	4470	4470
q10	6761	1848	1550	1550
q11	440	277	251	251
q12	638	430	290	290
q13	18147	3461	2798	2798
q14	269	265	242	242
q15	q16	817	774	711	711
q17	922	923	901	901
q18	6982	5731	5565	5565
q19	1525	1252	1059	1059
q20	527	390	266	266
q21	5850	2637	2415	2415
q22	427	356	300	300
Total cold run time: 100226 ms
Total hot run time: 28831 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4424	4349	4436	4349
q2	q3	4573	4928	4330	4330
q4	2094	2188	1394	1394
q5	4459	4326	4342	4326
q6	229	172	128	128
q7	1724	1655	1876	1655
q8	2864	2237	2142	2142
q9	8248	8314	7916	7916
q10	4800	4807	4350	4350
q11	563	400	382	382
q12	755	747	529	529
q13	3276	3661	3007	3007
q14	320	301	275	275
q15	q16	698	733	641	641
q17	1351	1330	1327	1327
q18	7947	7402	7239	7239
q19	1180	1174	1151	1151
q20	2269	2226	1930	1930
q21	5270	4686	4456	4456
q22	533	478	414	414
Total cold run time: 57577 ms
Total hot run time: 51941 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 169441 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit d1e407ceef1694ebfe70fc8a79e19a7c158b9387, data reload: false

query5	4320	630	493	493
query6	443	205	181	181
query7	4823	557	312	312
query8	375	216	210	210
query9	8752	4133	4065	4065
query10	444	321	289	289
query11	5862	2381	2255	2255
query12	179	105	103	103
query13	1299	625	463	463
query14	6443	5367	5049	5049
query14_1	4696	4372	4345	4345
query15	207	192	173	173
query16	1039	450	433	433
query17	1117	700	560	560
query18	2449	480	345	345
query19	201	179	141	141
query20	114	108	104	104
query21	216	139	121	121
query22	13675	13605	13400	13400
query23	17467	16394	16245	16245
query23_1	16281	16233	16266	16233
query24	7675	1774	1325	1325
query24_1	1287	1298	1303	1298
query25	571	471	404	404
query26	1318	309	178	178
query27	2658	582	344	344
query28	4511	2060	2042	2042
query29	1073	634	523	523
query30	312	242	208	208
query31	1132	1077	955	955
query32	109	63	60	60
query33	519	323	268	268
query34	1170	1123	650	650
query35	769	805	692	692
query36	1386	1351	1247	1247
query37	157	109	92	92
query38	3214	3179	3090	3090
query39	938	926	885	885
query39_1	885	879	870	870
query40	223	128	106	106
query41	72	74	67	67
query42	97	98	98	98
query43	328	322	285	285
query44	
query45	202	196	189	189
query46	1100	1152	740	740
query47	2352	2399	2248	2248
query48	401	417	295	295
query49	649	491	366	366
query50	981	357	256	256
query51	4357	4316	4229	4229
query52	89	92	78	78
query53	250	272	207	207
query54	303	235	216	216
query55	79	78	79	78
query56	252	242	230	230
query57	1453	1414	1348	1348
query58	256	225	225	225
query59	1564	1666	1427	1427
query60	300	269	238	238
query61	214	156	154	154
query62	683	649	556	556
query63	234	185	187	185
query64	2546	780	617	617
query65	
query66	1772	453	336	336
query67	29787	29728	29590	29590
query68	
query69	434	301	254	254
query70	1011	984	943	943
query71	299	225	215	215
query72	2961	2445	2388	2388
query73	857	741	403	403
query74	5112	4972	4775	4775
query75	2673	2576	2244	2244
query76	2343	1150	795	795
query77	356	381	290	290
query78	12504	12521	11877	11877
query79	1446	1088	779	779
query80	585	494	399	399
query81	452	287	247	247
query82	578	164	124	124
query83	356	279	250	250
query84	
query85	871	538	435	435
query86	367	301	279	279
query87	3414	3343	3169	3169
query88	3652	2725	2689	2689
query89	412	387	338	338
query90	1975	179	178	178
query91	175	161	139	139
query92	66	61	55	55
query93	1543	1600	836	836
query94	555	354	317	317
query95	704	393	438	393
query96	1115	784	338	338
query97	2680	2681	2575	2575
query98	213	210	204	204
query99	1174	1171	1058	1058
Total cold run time: 251962 ms
Total hot run time: 169441 ms

@hubgeter

hubgeter commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29511 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 79bcd88cbd19af824d5df8107fde4f903eb703bb, data reload: false

------ Round 1 ----------------------------------
orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	17666	4171	4172	4171
q2	q3	10753	1384	816	816
q4	4680	515	352	352
q5	7561	891	588	588
q6	194	191	138	138
q7	804	843	652	652
q8	9367	1624	1691	1624
q9	6309	4472	4537	4472
q10	6851	1845	1517	1517
q11	459	273	251	251
q12	637	463	291	291
q13	18101	3593	2764	2764
q14	270	266	239	239
q15	q16	832	785	708	708
q17	978	1001	1008	1001
q18	6902	5848	5665	5665
q19	1334	1372	1144	1144
q20	506	426	277	277
q21	5858	2690	2545	2545
q22	443	366	296	296
Total cold run time: 100505 ms
Total hot run time: 29511 ms

----- Round 2, with runtime_filter_mode=off -----
orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
============================================
q1	4548	4452	4453	4452
q2	q3	4697	5117	4368	4368
q4	2332	2397	1394	1394
q5	4711	4567	4514	4514
q6	252	190	130	130
q7	2368	1934	1658	1658
q8	2825	2345	2285	2285
q9	8249	8259	8266	8259
q10	5114	4941	4329	4329
q11	742	453	383	383
q12	814	792	540	540
q13	3358	3837	3065	3065
q14	329	342	278	278
q15	q16	719	749	666	666
q17	1404	1387	1451	1387
q18	8298	7494	7185	7185
q19	1161	1111	1094	1094
q20	2270	2249	1947	1947
q21	5668	4830	4634	4634
q22	555	481	427	427
Total cold run time: 60414 ms
Total hot run time: 52995 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 171043 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 79bcd88cbd19af824d5df8107fde4f903eb703bb, data reload: false

query5	4324	634	491	491
query6	497	199	189	189
query7	4850	573	311	311
query8	384	224	211	211
query9	8781	3990	3991	3990
query10	450	302	260	260
query11	5887	2339	2179	2179
query12	167	104	100	100
query13	1271	600	435	435
query14	6392	5468	5053	5053
query14_1	4405	4403	4379	4379
query15	214	196	173	173
query16	1001	485	425	425
query17	1136	723	594	594
query18	2552	482	358	358
query19	208	184	145	145
query20	119	108	111	108
query21	221	136	122	122
query22	13643	13524	13426	13426
query23	17388	16521	16288	16288
query23_1	16249	16261	16230	16230
query24	7474	1748	1322	1322
query24_1	1315	1300	1328	1300
query25	581	475	422	422
query26	1316	329	177	177
query27	2658	569	344	344
query28	4992	2038	2029	2029
query29	1142	633	515	515
query30	328	242	208	208
query31	1156	1092	971	971
query32	115	66	62	62
query33	522	341	267	267
query34	1188	1160	669	669
query35	780	862	700	700
query36	1407	1392	1246	1246
query37	150	106	92	92
query38	3208	3140	3069	3069
query39	937	926	887	887
query39_1	873	877	897	877
query40	213	125	98	98
query41	64	60	62	60
query42	95	97	95	95
query43	316	317	288	288
query44	
query45	204	185	179	179
query46	1075	1163	721	721
query47	2374	2348	2266	2266
query48	382	427	308	308
query49	642	478	371	371
query50	958	360	257	257
query51	4297	4300	4214	4214
query52	88	89	77	77
query53	246	268	205	205
query54	284	216	200	200
query55	78	76	69	69
query56	244	227	217	217
query57	1445	1389	1343	1343
query58	245	216	219	216
query59	1521	1620	1462	1462
query60	291	252	232	232
query61	160	150	159	150
query62	700	652	583	583
query63	238	187	179	179
query64	2556	766	640	640
query65	
query66	1798	467	350	350
query67	29897	29665	29764	29665
query68	
query69	463	312	259	259
query70	977	971	984	971
query71	301	236	204	204
query72	2928	2735	2449	2449
query73	847	776	430	430
query74	5202	4987	4769	4769
query75	2672	2599	2248	2248
query76	2337	1142	763	763
query77	360	373	291	291
query78	12439	12407	11918	11918
query79	1442	1079	742	742
query80	1302	466	406	406
query81	525	280	245	245
query82	608	162	125	125
query83	330	280	255	255
query84	
query85	911	535	453	453
query86	431	302	279	279
query87	3442	3342	3217	3217
query88	3670	2734	2726	2726
query89	439	383	327	327
query90	1879	186	169	169
query91	182	165	140	140
query92	60	63	56	56
query93	1673	1438	970	970
query94	711	338	282	282
query95	668	390	439	390
query96	1081	784	333	333
query97	2757	2681	2563	2563
query98	211	213	211	211
query99	1166	1165	1063	1063
Total cold run time: 252923 ms
Total hot run time: 171043 ms

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/73) 🎉
Increment coverage report
Complete coverage report

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@morningman

Copy link
Copy Markdown
Contributor

/review

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/73) 🎉
Increment coverage report
Complete coverage report

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary: no additional blocking issues found in the current head.

Critical checkpoint conclusions:

  • Goal and tests: The PR implements test_connection-gated MaxCompute validation for project access and namespace-schema access, plus read/write rejection for unsupported MaxCompute external tables/views. Added FE unit tests and MaxCompute p2 regression coverage exercise the intended behavior.
  • Scope/focus: The implementation is focused on MaxCompute catalog validation and unsupported-table safeguards. The split byte-size error-message fix is small and related to property validation quality.
  • Concurrency/lifecycle: No new shared mutable state or lock ordering concern found. checkWhenCreating() runs before catalog registration and outside the catalog manager write lock; the initialized local objects are reused after registration through the existing objectCreated lifecycle.
  • Configuration: No new config item was added. Existing test_connection semantics are used with the default remaining false.
  • Compatibility/persistence: No storage format, edit log format, or FE-BE protocol incompatibility found. Persisted catalog properties remain unchanged except when users explicitly set test_connection.
  • Parallel paths: Read and write paths both now reject unsupported MaxCompute external tables/views before Storage API session work. Namespace and non-namespace validation paths are both covered.
  • Error handling/observability: Validation failures are converted to DdlException with project/endpoint/credential context. No ignored Status-style issue applies in this FE Java path.
  • Test coverage: Unit tests cover default skip, explicit validation, namespace validation, validation failures, split-size message, and unsupported table/view read/write rejection. Regression coverage was added for test_connection true/false catalog creation cases.
  • Performance: Validation only runs when test_connection=true; no hot-path regression found.

Existing review context: the prior inline thread about namespace validation ignoring the configured endpoint is already known. In the current head, namespace-schema validation uses the configured ODPS client (odps.schemas().iterator(projectName)) instead of a region-only OpenAPI client, so I did not raise a duplicate.

User focus: no additional user-provided focus points were present.

Tests not run by reviewer in this Actions review pass.

morningman added a commit to morningman/doris that referenced this pull request Jun 9, 2026
@morningman morningman merged commit 6fc8f33 into apache:master Jun 9, 2026
33 checks passed
morningman added a commit to morningman/doris that referenced this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/4.1.x dev/4.1.x-conflict reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants